GET Security/GetWorkflowActivityPermissionsForIdentity?projectID={projectID}&workflowActivityID={workflowActivityID}&requestTypeID={requestTypeID}&permissionID[0]={permissionID[0]}&permissionID[1]={permissionID[1]}
Gets the granted permissions for the current user based on the specified project, workflow activity, request type, and requested permissions.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectID |
The ID of the project. |
globally unique identifier |
Required |
workflowActivityID |
The ID of the workflow activity. |
globally unique identifier |
Required |
requestTypeID |
The request type ID. |
globally unique identifier |
Required |
permissionID |
A collection of permissionID's to confirm permission for. |
Collection of globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
A collection of the permission ID's the current Identity has authorization for.
Collection of globally unique identifierResponse Formats
application/json, text/json
Sample:
{ "results": [ "b6ca2868-65ff-44f1-b7c1-caedfda5cfe0", "1d506426-a77f-40fe-82c1-a7b219118483" ] }
text/javascript
Sample:
{"results":["b6ca2868-65ff-44f1-b7c1-caedfda5cfe0","1d506426-a77f-40fe-82c1-a7b219118483"]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <guid>b6ca2868-65ff-44f1-b7c1-caedfda5cfe0</guid> <guid>1d506426-a77f-40fe-82c1-a7b219118483</guid> </ArrayOfguid>